<!DOCTYPE html>
<html>
<head>
  <title>Devices</title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
</head>
<body>
  <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>     
          <%= link_to '在用设备列表', devices_path, {class: 'brand'} %></a>
          <div class="nav-collapse collapse">
            <ul class="nav">              
              <li><%= link_to '申请设备', devices_require_path %></li>
              <li><%= link_to '待审批设备', devices_apply_path %></li>
              <li><%= link_to '联系我们', devices_contact_path %></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
      <%= yield %>
    </div> <!-- /container -->
</body>
</html>
